import { getCurrentInstance } from 'vue';

export function useDeviceInfo() {
  const instance = getCurrentInstance();
  return instance?.appContext.config.globalProperties.$deviceInfo;
}
